<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>dfeprach: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">dfeprach
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group___overview.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1287a30b7e83158a48088593234ab1e4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga1287a30b7e83158a48088593234ab1e4">XDfePrach_2CC3RCDynamicTestExample</a> ()</td></tr>
<tr class="memdesc:ga1287a30b7e83158a48088593234ab1e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This example runs the DFE Prach device using the driver APIs.  <a href="#ga1287a30b7e83158a48088593234ab1e4">More...</a><br/></td></tr>
<tr class="separator:ga1287a30b7e83158a48088593234ab1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd47bf94fdf2e70c66193ba7d36baded"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gabd47bf94fdf2e70c66193ba7d36baded">XDfePrach_2CC3RCTestExample</a> ()</td></tr>
<tr class="memdesc:gabd47bf94fdf2e70c66193ba7d36baded"><td class="mdescLeft">&#160;</td><td class="mdescRight">This example runs the DFE Prach device using the driver APIs.  <a href="#gabd47bf94fdf2e70c66193ba7d36baded">More...</a><br/></td></tr>
<tr class="separator:gabd47bf94fdf2e70c66193ba7d36baded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80c73e89a6fc66abac088bbc45431dc3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga80c73e89a6fc66abac088bbc45431dc3">XDfePrach_2CC3RCReconfigureTestExample</a> ()</td></tr>
<tr class="memdesc:ga80c73e89a6fc66abac088bbc45431dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This example runs the DFE Prach device using the driver APIs.  <a href="#ga80c73e89a6fc66abac088bbc45431dc3">More...</a><br/></td></tr>
<tr class="separator:ga80c73e89a6fc66abac088bbc45431dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga210a566fa6dbed1e7c36d8b2a2f9696b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga210a566fa6dbed1e7c36d8b2a2f9696b">XDfePrach_SelfTestExample</a> ()</td></tr>
<tr class="memdesc:ga210a566fa6dbed1e7c36d8b2a2f9696b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This example runs the DFE Prach device using the driver APIs.  <a href="#ga210a566fa6dbed1e7c36d8b2a2f9696b">More...</a><br/></td></tr>
<tr class="separator:ga210a566fa6dbed1e7c36d8b2a2f9696b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga1287a30b7e83158a48088593234ab1e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XDfePrach_2CC3RCDynamicTestExample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This example runs the DFE Prach device using the driver APIs. </p>
<p>The example goes through the following steps:</p>
<ul>
<li>Create and system initialize the device driver instance.</li>
<li>Read SW and HW version numbers.</li>
<li>Reset the device.</li>
<li>Configure the device.</li>
<li>Initialize the device.</li>
<li>Activate the device.</li>
<li>Get current Component Carrier (CC) configuration.</li>
<li>Get current RACH Channel (RC) configuration.</li>
<li>add 2 Component Carriers: CCID={5,3}</li>
<li>add 3 RACH Channel: RCID={2,4,6}</li>
<li>Trigger configuration update.</li>
<li>Deactivate the device.</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the example has completed successfully.</li>
<li>XST_FAILURE if the example has failed.//! [testexample4] </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#af2e1ccd34f5bfe01b41cb0f1bb652220">XDfePrach_TriggerCfg::Activate</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a31fbe2e7f11a937712811abe5a3ccead">XDfePrach_DDCCfg::DecimationRate</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#aafb16e37434841de906c93a9846b1090">XDfePrach_NCO::DualModCount</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a7dc99e4741b7693489d6d6b5799de490">XDfePrach_NCO::DualModSel</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#aa931f6127e2f84aea2e747fea616f762">XDfePrach_Schedule::Duration</a>, <a class="el" href="struct_x_dfe_prach___init.html#a07c70d0e3eb35beb91f6dd5ab2ab138a">XDfePrach_Init::EnableStaticSchedule</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a185bb5432a65dd6c374551aeecbbbfc1">XDfePrach_Schedule::FrameID</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#a2ab37309fe0e2f452ca3c80cadc7e9cd">XDfePrach_TriggerCfg::FrameInit</a>, <a class="el" href="struct_x_dfe_prach___c_c_sequence.html#a0d0155f6feef3938aa495104ea2a7cf6">XDfePrach_CCSequence::Length</a>, <a class="el" href="struct_x_dfe_prach___version.html#a34574818514aae357209a0231ef15297">XDfePrach_Version::Major</a>, <a class="el" href="struct_x_dfe_prach___version.html#a46b63d0733af4550f9b0f86de898deb9">XDfePrach_Version::Minor</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#adbe3a33690892b419fa84b0eb25c376b">XDfePrach_Trigger::Mode</a>, <a class="el" href="struct_x_dfe_prach___cfg.html#a116125ccd0dc1840bd02b91fcbabb5fb">XDfePrach_Cfg::ModelParams</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a801e8496f7c43f2e6931277900899b77">XDfePrach_NCO::NcoGain</a>, <a class="el" href="struct_x_dfe_prach___model_parameters.html#af26b5325f41da9dce51fa92eb5acdecf">XDfePrach_ModelParameters::NumAntennaSlots</a>, <a class="el" href="struct_x_dfe_prach___version.html#ab7b1f37828108f8cb59f1aed37509618">XDfePrach_Version::Patch</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a38e9a99c3bcea7e6e557b8db6aa7212d">XDfePrach_Schedule::PatternPeriod</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a1e85da023c1c88ceb56ed748ae727e12">XDfePrach_NCO::PhaseAcc</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a82e8d56b922b7a4d0e8fac2bdf702c42">XDfePrach_NCO::PhaseOffset</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a4e499964f3e24f9b83964affc737e1d9">XDfePrach_DDCCfg::RachGain</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#ad050fbb7c1ae3ed87adca4601488a293">XDfePrach_TriggerCfg::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___status_mask.html#a167e15085bd3ddcefeefee4b81d6f742">XDfePrach_StatusMask::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a046c93b443f753567fc010a624183af4">XDfePrach_Schedule::Repeats</a>, <a class="el" href="struct_x_dfe_prach___version.html#a2d34b3053902241c4585a551e3c7a8b7">XDfePrach_Version::Revision</a>, <a class="el" href="struct_x_dfe_prach___carrier_cfg.html#a01aaf3cbd14eeda39de0a970f19cba0b">XDfePrach_CarrierCfg::SCS</a>, <a class="el" href="struct_x_dfe_prach___init.html#a994eed7fd1f34d06ed06ca20e93f82bb">XDfePrach_Init::Sequence</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a060a6fe951033884c8c9f39afb5f5570">XDfePrach_Schedule::SlotId</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#ab704872ab1c8b77c010ccfc55570d55e">XDfePrach_Trigger::StateOutput</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a2dc6eab32351cae4cf2f5006d2a61828">XDfePrach_Schedule::SubframeID</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a9a0ee9d9f6210db73d26d988407dbab0">XDfePrach_Trigger::TUSERBit</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a096bf6f0d42c152a57155c21c01f6091">XDfePrach_Trigger::TuserEdgeLevel</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a342fc87278e3f1fa9934f34bac18dd38">XDfePrach_NCO::UserFreq</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a268502d023b8035641d1e249d6fc47da">XDfePrach_DDCCfg::UserSCS</a>, <a class="el" href="group__dfeprach.html#ga230d29f371235de8b4beed0a92f6c7b2">XDfePrach_Activate()</a>, <a class="el" href="group__dfeprach.html#gabc97efd9664beb2c7bb2a7dd2795deb2">XDfePrach_AddCCtoCCCfg()</a>, <a class="el" href="group__dfeprach.html#gaf76b8fc9f6e3b779f2592d3404cc8582">XDfePrach_AddRCtoRCCfg()</a>, <a class="el" href="group__dfeprach.html#gaa00484ddc6d5256a6844b2b99ceb0586">XDfePrach_ClearEventStatus()</a>, <a class="el" href="group__dfeprach.html#ga16b80a647ed6d6efa28dd2223880696a">XDfePrach_Configure()</a>, <a class="el" href="group__dfeprach.html#gade52553d7a214b9b9bf77d85be30d712">XDfePrach_Deactivate()</a>, <a class="el" href="group__dfeprach.html#ga5da17d2168e7d61dc25b4e377226b207">XDfePrach_GetEmptyCCCfg()</a>, <a class="el" href="group__dfeprach.html#gad70af1c8fab4951bfea8eb8874f6b5e3">XDfePrach_GetEmptyRCCfg()</a>, <a class="el" href="group__dfeprach.html#ga6bbc110a7b51393ac8641b5ef44883aa">XDfePrach_GetVersions()</a>, <a class="el" href="group__dfeprach.html#gae381973dcaf014664d8df4f8b95f456b">XDfePrach_Initialize()</a>, <a class="el" href="group__dfeprach.html#gadd78606d53d3fdfbd06043ed400347eb">XDfePrach_InstanceClose()</a>, <a class="el" href="group__dfeprach.html#ga0469995710f4c55a0769c1c0cac8b1ea">XDfePrach_InstanceInit()</a>, <a class="el" href="group__dfeprach.html#gaafc590b46cd95b8399f798461073a4dc">XDfePrach_Reset()</a>, <a class="el" href="group__dfeprach.html#ga6d425cd9949a65526ff83c0a5403f53a">XDfePrach_SetNextCfg()</a>, <a class="el" href="group__dfeprach.html#ga257e7ce648bbb961d54028759c595a0e">XDfePrach_SetTriggersCfg()</a>, <a class="el" href="group__dfeprach.html#ga9478d2b97aa40e09052dee2571940ef9">XST_FAILURE</a>, and <a class="el" href="group__dfeprach.html#ga959ffc15251ddc9b3a883a30f97b7715">XST_SUCCESS</a>.</p>

<p>Referenced by <a class="el" href="xdfeprach__examples_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ga80c73e89a6fc66abac088bbc45431dc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XDfePrach_2CC3RCReconfigureTestExample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This example runs the DFE Prach device using the driver APIs. </p>
<p>The example goes through the following steps:</p>
<ul>
<li>Create and system initialize the device driver instance.</li>
<li>Read SW and HW version numbers.</li>
<li>Reset the device.</li>
<li>Configure the device.</li>
<li>Initialize the device.</li>
<li>Activate the device.</li>
<li>Get current Component Carrier (CC) configuration.</li>
<li>Get current RACH Channel (RC) configuration.</li>
<li>add 2 Component Carriers: CCID={5,3}</li>
<li>add 3 RACH Channel: RCID={2,4,6}</li>
<li>remove one RACH Channel</li>
<li>configure and add new RACH channel</li>
<li>Trigger configuration update.</li>
<li>Deactivate the device.</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the example has completed successfully.</li>
<li>XST_FAILURE if the example has failed.//! [testexample3] </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#af2e1ccd34f5bfe01b41cb0f1bb652220">XDfePrach_TriggerCfg::Activate</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a31fbe2e7f11a937712811abe5a3ccead">XDfePrach_DDCCfg::DecimationRate</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#aafb16e37434841de906c93a9846b1090">XDfePrach_NCO::DualModCount</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a7dc99e4741b7693489d6d6b5799de490">XDfePrach_NCO::DualModSel</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#aa931f6127e2f84aea2e747fea616f762">XDfePrach_Schedule::Duration</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a185bb5432a65dd6c374551aeecbbbfc1">XDfePrach_Schedule::FrameID</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#a2ab37309fe0e2f452ca3c80cadc7e9cd">XDfePrach_TriggerCfg::FrameInit</a>, <a class="el" href="struct_x_dfe_prach___c_c_sequence.html#a0d0155f6feef3938aa495104ea2a7cf6">XDfePrach_CCSequence::Length</a>, <a class="el" href="struct_x_dfe_prach___version.html#a34574818514aae357209a0231ef15297">XDfePrach_Version::Major</a>, <a class="el" href="struct_x_dfe_prach___version.html#a46b63d0733af4550f9b0f86de898deb9">XDfePrach_Version::Minor</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#adbe3a33690892b419fa84b0eb25c376b">XDfePrach_Trigger::Mode</a>, <a class="el" href="struct_x_dfe_prach___cfg.html#a116125ccd0dc1840bd02b91fcbabb5fb">XDfePrach_Cfg::ModelParams</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a801e8496f7c43f2e6931277900899b77">XDfePrach_NCO::NcoGain</a>, <a class="el" href="struct_x_dfe_prach___model_parameters.html#af26b5325f41da9dce51fa92eb5acdecf">XDfePrach_ModelParameters::NumAntennaSlots</a>, <a class="el" href="struct_x_dfe_prach___version.html#ab7b1f37828108f8cb59f1aed37509618">XDfePrach_Version::Patch</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a38e9a99c3bcea7e6e557b8db6aa7212d">XDfePrach_Schedule::PatternPeriod</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a1e85da023c1c88ceb56ed748ae727e12">XDfePrach_NCO::PhaseAcc</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a82e8d56b922b7a4d0e8fac2bdf702c42">XDfePrach_NCO::PhaseOffset</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a4e499964f3e24f9b83964affc737e1d9">XDfePrach_DDCCfg::RachGain</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#ad050fbb7c1ae3ed87adca4601488a293">XDfePrach_TriggerCfg::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___status_mask.html#a167e15085bd3ddcefeefee4b81d6f742">XDfePrach_StatusMask::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a046c93b443f753567fc010a624183af4">XDfePrach_Schedule::Repeats</a>, <a class="el" href="struct_x_dfe_prach___version.html#a2d34b3053902241c4585a551e3c7a8b7">XDfePrach_Version::Revision</a>, <a class="el" href="struct_x_dfe_prach___carrier_cfg.html#a01aaf3cbd14eeda39de0a970f19cba0b">XDfePrach_CarrierCfg::SCS</a>, <a class="el" href="struct_x_dfe_prach___init.html#a994eed7fd1f34d06ed06ca20e93f82bb">XDfePrach_Init::Sequence</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a060a6fe951033884c8c9f39afb5f5570">XDfePrach_Schedule::SlotId</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#ab704872ab1c8b77c010ccfc55570d55e">XDfePrach_Trigger::StateOutput</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a2dc6eab32351cae4cf2f5006d2a61828">XDfePrach_Schedule::SubframeID</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a9a0ee9d9f6210db73d26d988407dbab0">XDfePrach_Trigger::TUSERBit</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a096bf6f0d42c152a57155c21c01f6091">XDfePrach_Trigger::TuserEdgeLevel</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a342fc87278e3f1fa9934f34bac18dd38">XDfePrach_NCO::UserFreq</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a268502d023b8035641d1e249d6fc47da">XDfePrach_DDCCfg::UserSCS</a>, <a class="el" href="group__dfeprach.html#ga230d29f371235de8b4beed0a92f6c7b2">XDfePrach_Activate()</a>, <a class="el" href="group__dfeprach.html#gabc97efd9664beb2c7bb2a7dd2795deb2">XDfePrach_AddCCtoCCCfg()</a>, <a class="el" href="group__dfeprach.html#gaf76b8fc9f6e3b779f2592d3404cc8582">XDfePrach_AddRCtoRCCfg()</a>, <a class="el" href="group__dfeprach.html#gaa00484ddc6d5256a6844b2b99ceb0586">XDfePrach_ClearEventStatus()</a>, <a class="el" href="group__dfeprach.html#ga16b80a647ed6d6efa28dd2223880696a">XDfePrach_Configure()</a>, <a class="el" href="group__dfeprach.html#gade52553d7a214b9b9bf77d85be30d712">XDfePrach_Deactivate()</a>, <a class="el" href="group__dfeprach.html#ga5da17d2168e7d61dc25b4e377226b207">XDfePrach_GetEmptyCCCfg()</a>, <a class="el" href="group__dfeprach.html#gad70af1c8fab4951bfea8eb8874f6b5e3">XDfePrach_GetEmptyRCCfg()</a>, <a class="el" href="group__dfeprach.html#ga6bbc110a7b51393ac8641b5ef44883aa">XDfePrach_GetVersions()</a>, <a class="el" href="group__dfeprach.html#gae381973dcaf014664d8df4f8b95f456b">XDfePrach_Initialize()</a>, <a class="el" href="group__dfeprach.html#gadd78606d53d3fdfbd06043ed400347eb">XDfePrach_InstanceClose()</a>, <a class="el" href="group__dfeprach.html#ga0469995710f4c55a0769c1c0cac8b1ea">XDfePrach_InstanceInit()</a>, <a class="el" href="group__dfeprach.html#ga23d3e2b70270c352134fa0ff075869c3">XDfePrach_RemoveRCfromRCCfg()</a>, <a class="el" href="group__dfeprach.html#gaafc590b46cd95b8399f798461073a4dc">XDfePrach_Reset()</a>, <a class="el" href="group__dfeprach.html#ga6d425cd9949a65526ff83c0a5403f53a">XDfePrach_SetNextCfg()</a>, <a class="el" href="group__dfeprach.html#ga257e7ce648bbb961d54028759c595a0e">XDfePrach_SetTriggersCfg()</a>, <a class="el" href="group__dfeprach.html#ga9478d2b97aa40e09052dee2571940ef9">XST_FAILURE</a>, and <a class="el" href="group__dfeprach.html#ga959ffc15251ddc9b3a883a30f97b7715">XST_SUCCESS</a>.</p>

<p>Referenced by <a class="el" href="xdfeprach__examples_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gabd47bf94fdf2e70c66193ba7d36baded"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XDfePrach_2CC3RCTestExample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This example runs the DFE Prach device using the driver APIs. </p>
<p>The example goes through the following steps:</p>
<ul>
<li>Create and system initialize the device driver instance.</li>
<li>Read SW and HW version numbers.</li>
<li>Reset the device.</li>
<li>Configure the device.</li>
<li>Initialize the device.</li>
<li>Activate the device.</li>
<li>Get current Component Carrier (CC) configuration.</li>
<li>Get current RACH Channel (RC) configuration.</li>
<li>add 2 Component Carriers: CCID={5,3}</li>
<li>add 3 RACH Channel: RCID={2,4,6}</li>
<li>Trigger configuration update.</li>
<li>Deactivate the device.</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the example has completed successfully.</li>
<li>XST_FAILURE if the example has failed.//! [testexample2] </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#af2e1ccd34f5bfe01b41cb0f1bb652220">XDfePrach_TriggerCfg::Activate</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a31fbe2e7f11a937712811abe5a3ccead">XDfePrach_DDCCfg::DecimationRate</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#aafb16e37434841de906c93a9846b1090">XDfePrach_NCO::DualModCount</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a7dc99e4741b7693489d6d6b5799de490">XDfePrach_NCO::DualModSel</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#aa931f6127e2f84aea2e747fea616f762">XDfePrach_Schedule::Duration</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a185bb5432a65dd6c374551aeecbbbfc1">XDfePrach_Schedule::FrameID</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#a2ab37309fe0e2f452ca3c80cadc7e9cd">XDfePrach_TriggerCfg::FrameInit</a>, <a class="el" href="struct_x_dfe_prach___c_c_sequence.html#a0d0155f6feef3938aa495104ea2a7cf6">XDfePrach_CCSequence::Length</a>, <a class="el" href="struct_x_dfe_prach___version.html#a34574818514aae357209a0231ef15297">XDfePrach_Version::Major</a>, <a class="el" href="struct_x_dfe_prach___version.html#a46b63d0733af4550f9b0f86de898deb9">XDfePrach_Version::Minor</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#adbe3a33690892b419fa84b0eb25c376b">XDfePrach_Trigger::Mode</a>, <a class="el" href="struct_x_dfe_prach___cfg.html#a116125ccd0dc1840bd02b91fcbabb5fb">XDfePrach_Cfg::ModelParams</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a801e8496f7c43f2e6931277900899b77">XDfePrach_NCO::NcoGain</a>, <a class="el" href="struct_x_dfe_prach___model_parameters.html#af26b5325f41da9dce51fa92eb5acdecf">XDfePrach_ModelParameters::NumAntennaSlots</a>, <a class="el" href="struct_x_dfe_prach___version.html#ab7b1f37828108f8cb59f1aed37509618">XDfePrach_Version::Patch</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a38e9a99c3bcea7e6e557b8db6aa7212d">XDfePrach_Schedule::PatternPeriod</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a1e85da023c1c88ceb56ed748ae727e12">XDfePrach_NCO::PhaseAcc</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a82e8d56b922b7a4d0e8fac2bdf702c42">XDfePrach_NCO::PhaseOffset</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a4e499964f3e24f9b83964affc737e1d9">XDfePrach_DDCCfg::RachGain</a>, <a class="el" href="struct_x_dfe_prach___trigger_cfg.html#ad050fbb7c1ae3ed87adca4601488a293">XDfePrach_TriggerCfg::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___status_mask.html#a167e15085bd3ddcefeefee4b81d6f742">XDfePrach_StatusMask::RachUpdate</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a046c93b443f753567fc010a624183af4">XDfePrach_Schedule::Repeats</a>, <a class="el" href="struct_x_dfe_prach___version.html#a2d34b3053902241c4585a551e3c7a8b7">XDfePrach_Version::Revision</a>, <a class="el" href="struct_x_dfe_prach___carrier_cfg.html#a01aaf3cbd14eeda39de0a970f19cba0b">XDfePrach_CarrierCfg::SCS</a>, <a class="el" href="struct_x_dfe_prach___init.html#a994eed7fd1f34d06ed06ca20e93f82bb">XDfePrach_Init::Sequence</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a060a6fe951033884c8c9f39afb5f5570">XDfePrach_Schedule::SlotId</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#ab704872ab1c8b77c010ccfc55570d55e">XDfePrach_Trigger::StateOutput</a>, <a class="el" href="struct_x_dfe_prach___schedule.html#a2dc6eab32351cae4cf2f5006d2a61828">XDfePrach_Schedule::SubframeID</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a9a0ee9d9f6210db73d26d988407dbab0">XDfePrach_Trigger::TUSERBit</a>, <a class="el" href="struct_x_dfe_prach___trigger.html#a096bf6f0d42c152a57155c21c01f6091">XDfePrach_Trigger::TuserEdgeLevel</a>, <a class="el" href="struct_x_dfe_prach___n_c_o.html#a342fc87278e3f1fa9934f34bac18dd38">XDfePrach_NCO::UserFreq</a>, <a class="el" href="struct_x_dfe_prach___d_d_c_cfg.html#a268502d023b8035641d1e249d6fc47da">XDfePrach_DDCCfg::UserSCS</a>, <a class="el" href="group__dfeprach.html#ga230d29f371235de8b4beed0a92f6c7b2">XDfePrach_Activate()</a>, <a class="el" href="group__dfeprach.html#gabc97efd9664beb2c7bb2a7dd2795deb2">XDfePrach_AddCCtoCCCfg()</a>, <a class="el" href="group__dfeprach.html#gaf76b8fc9f6e3b779f2592d3404cc8582">XDfePrach_AddRCtoRCCfg()</a>, <a class="el" href="group__dfeprach.html#gaa00484ddc6d5256a6844b2b99ceb0586">XDfePrach_ClearEventStatus()</a>, <a class="el" href="group__dfeprach.html#ga16b80a647ed6d6efa28dd2223880696a">XDfePrach_Configure()</a>, <a class="el" href="group__dfeprach.html#gade52553d7a214b9b9bf77d85be30d712">XDfePrach_Deactivate()</a>, <a class="el" href="group__dfeprach.html#ga5da17d2168e7d61dc25b4e377226b207">XDfePrach_GetEmptyCCCfg()</a>, <a class="el" href="group__dfeprach.html#gad70af1c8fab4951bfea8eb8874f6b5e3">XDfePrach_GetEmptyRCCfg()</a>, <a class="el" href="group__dfeprach.html#ga6bbc110a7b51393ac8641b5ef44883aa">XDfePrach_GetVersions()</a>, <a class="el" href="group__dfeprach.html#gae381973dcaf014664d8df4f8b95f456b">XDfePrach_Initialize()</a>, <a class="el" href="group__dfeprach.html#gadd78606d53d3fdfbd06043ed400347eb">XDfePrach_InstanceClose()</a>, <a class="el" href="group__dfeprach.html#ga0469995710f4c55a0769c1c0cac8b1ea">XDfePrach_InstanceInit()</a>, <a class="el" href="group__dfeprach.html#gaafc590b46cd95b8399f798461073a4dc">XDfePrach_Reset()</a>, <a class="el" href="group__dfeprach.html#ga6d425cd9949a65526ff83c0a5403f53a">XDfePrach_SetNextCfg()</a>, <a class="el" href="group__dfeprach.html#ga257e7ce648bbb961d54028759c595a0e">XDfePrach_SetTriggersCfg()</a>, <a class="el" href="group__dfeprach.html#ga9478d2b97aa40e09052dee2571940ef9">XST_FAILURE</a>, and <a class="el" href="group__dfeprach.html#ga959ffc15251ddc9b3a883a30f97b7715">XST_SUCCESS</a>.</p>

<p>Referenced by <a class="el" href="xdfeprach__examples_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ga210a566fa6dbed1e7c36d8b2a2f9696b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XDfePrach_SelfTestExample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This example runs the DFE Prach device using the driver APIs. </p>
<p>The example goes through the following steps:</p>
<ul>
<li>Create and system initialize the device driver instance.</li>
<li>Read SW and HW version numbers.</li>
<li>Reset the device.</li>
<li>Configure the device.</li>
<li>Initialize the device.</li>
<li>Activate the device.</li>
<li>Deactivate the device.</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the example has completed successfully.</li>
<li>XST_FAILURE if the example has failed.//! [testexample1] </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_dfe_prach___version.html#a34574818514aae357209a0231ef15297">XDfePrach_Version::Major</a>, <a class="el" href="struct_x_dfe_prach___version.html#a46b63d0733af4550f9b0f86de898deb9">XDfePrach_Version::Minor</a>, <a class="el" href="struct_x_dfe_prach___version.html#ab7b1f37828108f8cb59f1aed37509618">XDfePrach_Version::Patch</a>, <a class="el" href="struct_x_dfe_prach___version.html#a2d34b3053902241c4585a551e3c7a8b7">XDfePrach_Version::Revision</a>, <a class="el" href="group__dfeprach.html#ga230d29f371235de8b4beed0a92f6c7b2">XDfePrach_Activate()</a>, <a class="el" href="group__dfeprach.html#ga16b80a647ed6d6efa28dd2223880696a">XDfePrach_Configure()</a>, <a class="el" href="group__dfeprach.html#gade52553d7a214b9b9bf77d85be30d712">XDfePrach_Deactivate()</a>, <a class="el" href="group__dfeprach.html#ga6bbc110a7b51393ac8641b5ef44883aa">XDfePrach_GetVersions()</a>, <a class="el" href="group__dfeprach.html#gae381973dcaf014664d8df4f8b95f456b">XDfePrach_Initialize()</a>, <a class="el" href="group__dfeprach.html#gadd78606d53d3fdfbd06043ed400347eb">XDfePrach_InstanceClose()</a>, <a class="el" href="group__dfeprach.html#ga0469995710f4c55a0769c1c0cac8b1ea">XDfePrach_InstanceInit()</a>, <a class="el" href="group__dfeprach.html#gaafc590b46cd95b8399f798461073a4dc">XDfePrach_Reset()</a>, <a class="el" href="group__dfeprach.html#ga9478d2b97aa40e09052dee2571940ef9">XST_FAILURE</a>, and <a class="el" href="group__dfeprach.html#ga959ffc15251ddc9b3a883a30f97b7715">XST_SUCCESS</a>.</p>

<p>Referenced by <a class="el" href="xdfeprach__examples_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
